import MockAdapter from 'axios-mock-adapter'
import { instance } from '../api/request'
import { setupAuthMock } from './auth.mock'
import { setupStoreMock } from './store.mock'
import { setupDashBoardMock } from './dashboard.mock'
export const mock = new MockAdapter(instance)

export const setupMock = () =>{
    setupAuthMock(mock);
    setupDashBoardMock(mock);
    setupStoreMock(mock);
}